package com.spring.business.configure.pojo.vo;

import io.swagger.annotations.ApiModelProperty;

import java.util.StringJoiner;

/**
 * 字典响应对象
 */
public class DictValueVO
{
	@ApiModelProperty(value = "字典名称")
	private String key;

	@ApiModelProperty(value = "字典值")
	private String value;

	@Override
	public String toString()
	{
		return new StringJoiner(", ", DictValueVO.class.getSimpleName() + "[", "]").add("key='" + key + "'").add("value='" + value + "'").toString();
	}

	public String getKey()
	{
		return key;
	}

	public void setKey(String key)
	{
		this.key = key;
	}

	public String getValue()
	{
		return value;
	}

	public void setValue(String value)
	{
		this.value = value;
	}
}
